HipWindow

This is not a feature complete windowing abstraction. It only has the necessary resources for making the engine work. Its feature is not to be an implementation as complete as SDL. thus, reducing the external dependencies, binary size and compilation steps.

Constructors

this
this(int width, int height, HipWindowFlags flags)
Undocumented in source.

Members

Functions

destroyOpenGLContext
bool destroyOpenGLContext()
Undocumented in source. Be warned that the author may not have intended to support it.
exit
void exit()
Undocumented in source. Be warned that the author may not have intended to support it.
getSize
int[2] getSize()
Undocumented in source. Be warned that the author may not have intended to support it.
hide
void hide()
Undocumented in source. Be warned that the author may not have intended to support it.
pollWindowEvents
void pollWindowEvents()
Undocumented in source. Be warned that the author may not have intended to support it.
rendererPresent
void rendererPresent()
Undocumented in source. Be warned that the author may not have intended to support it.
setFullscreen
void setFullscreen(bool fullscreen)
Undocumented in source. Be warned that the author may not have intended to support it.
setName
void setName(string name)
Undocumented in source. Be warned that the author may not have intended to support it.
setSize
void setSize(uint width, uint height)
Undocumented in source. Be warned that the author may not have intended to support it.
setVSyncActive
void setVSyncActive(bool active)
Undocumented in source. Be warned that the author may not have intended to support it.
show
void show()
Undocumented in source. Be warned that the author may not have intended to support it.
start
void start()
Undocumented in source. Be warned that the author may not have intended to support it.
startOpenGLContext
bool startOpenGLContext(int majorVersion, int minorVersion)
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

MTKView
void* MTKView;
Undocumented in source.
errors
string[] errors;
Undocumented in source.
flags
HipWindowFlags flags;
height
int height;
Undocumented in source.
hwnd
HWND hwnd;
Undocumented in source.
width
int width;
Undocumented in source.

Meta